package com.ruipengkj.bean;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "ruipengkj_view_order_detail")
public class OrderDetailView implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private int id;
	
	private String  UserName;//用户
	
	private String OrderID;//订单号
	
	private Date HappenTime;//操作时间
	
	private String Name;//商品名称
	
	private double NeedMoney;//销售价格
	
	private double TotalAmount;//总价
	
	private String Operator;//经办人
	
	private Date EndTime;
	
	@Id
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	

	public String getUserName() {
		return UserName;
	}

	public void setUserName(String userName) {
		UserName = userName;
	}

	public String getOrderID() {
		return OrderID;
	}

	public void setOrderID(String orderID) {
		OrderID = orderID;
	}

	public Date getHappenTime() {
		return HappenTime;
	}

	public void setHappenTime(Date happenTime) {
		HappenTime = happenTime;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public double getNeedMoney() {
		return NeedMoney;
	}

	public void setNeedMoney(double needMoney) {
		NeedMoney = needMoney;
	}

	public double getTotalAmount() {
		return TotalAmount;
	}

	public void setTotalAmount(double totalAmount) {
		TotalAmount = totalAmount;
	}

	public String getOperator() {
		return Operator;
	}

	public void setOperator(String operator) {
		Operator = operator;
	}

	@Transient
	public Date getEndTime() {
		return EndTime;
	}

	public void setEndTime(Date endTime) {
		EndTime = endTime;
	}
	
	
	
	
	
}
 